package com.qianzhu8.kfc.boot.enums;

/**
 * 订单状态枚举
 *
 * @author xuyanjun
 * @date 2020/4/10
 */
public enum KfcOrderStatusEnum {

    /**
     * 待付款
     */
    TOBE_PAID(0, "待付款"),

    /**
     * 排队中
     */
    TOBE_DRAW(5, "排队中"),


    /**
     * 交易成功
     */
    TRAN_SUCCESS(15, "交易成功"),

    /**
     * 已取消
     */
    CANCELED(-5, "已取消");

    /**
     * 值
     */
    private int value;

    /**
     * 描述
     */
    private String description;

    KfcOrderStatusEnum(int value, String description) {
        this.value = value;
        this.description = description;
    }

    public int getValue() {
        return this.value;
    }

    public String getDescription() {
        return this.description;
    }
}
